﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace InternetSpeed
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Internet Speed Calculator");

            Console.Write("Internet Speed [Mb/s] = ");
            int v = int.Parse(Console.ReadLine());

            Console.Write("File Size [GB] = ");
            double s = double.Parse(Console.ReadLine());

            double t = (s * 1024) / (60 * v / 8);

            Console.WriteLine("time = " + Math.Round(t, 1) + " min");
            
            Console.ReadKey();
        }
    }
}
